package operation;

import book.BookList;

//退出操作
public class ExitOperation implements IOperation {

    @Override
    public void work(BookList bookList) {
        System.out.println("退出系统！");
        //直接调用系统方法
        System.exit(0);
    }
}
